package com.goods.controller.business.service;

import com.goods.common.model.business.Supplier;
import com.goods.common.vo.business.SupplierVO;
import com.goods.common.vo.system.PageVO;

public interface SupplierService {

    /**
     *列表
     * @param pageNum
     * @param pageSize
     * @param supplierVO
     * @return
     */
    PageVO<SupplierVO> findSupplierList(Integer pageNum, Integer pageSize, SupplierVO supplierVO);

    /**
     *添加
     * @param supplierVO
     * @return
     */
    Supplier add(SupplierVO supplierVO);

    /**
     * 编辑
     * @param id
     * @return
     */
    SupplierVO edit(Long id);

    /**
     * 修改
     * @param id
     * @param supplierVO
     */
    void update(Long id, SupplierVO supplierVO);

    /**
     * 删除
     * @param id
     */
    void delete(Long id);
}
